//
//  Singleton.h
//  TourPlay
//
//  Created by dllo on 15/11/26.
//  Copyright © 2015年 王军岐. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "FMDatabase.h"
#import "ChooseTypeMod.h"
#import "RecordAcitvityMod.h"

@interface Singleton : NSObject

@property(nonatomic,retain)FMDatabase *db; //数据库

@property (nonatomic, assign) CGFloat recordHomeheight;

+ (instancetype)shareSingleton;

//打开数据库
-(void)openDB;
// 执行sql语句
- (void)exeWithSQL:(NSString *)sql;

// 选择分类查询
-(NSMutableArray *)selectChooseTypeWithSQL:(NSString *)sql;

- (NSMutableArray *)selectRecordActivityWithSQL:(NSString *)sql;

@end
